﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
//Made by Mikkel & Lasse
namespace DataTier
{
    [DataContract]
  public class Customer : DataTier.ICustomer
    {

        [DataMember]
        public string CustomerPhoneNumber { get; set; }
        [DataMember]
        public string CustomerName { get; set; }
        [DataMember]
        public string CustomerAddress { get; set; }
        [DataMember]
        public string CustomerZipCode { get; set; }
        [DataMember]
        public string CustomerEmail { get; set; }
        [DataMember]
        public string CustomerSex { get; set; }
        [DataMember]
        public string CustomerEducation { get; set; }
        [DataMember]
        public DateTime CustomerBirthday { get; set; }
        [DataMember]
        public DateTime CustomerMemberSince { get; set; }
        [DataMember]
        public string CustomerInterests { get; set; }


        public override string ToString()
        {
            return CustomerPhoneNumber + " " + CustomerName + " " + CustomerAddress + " " + CustomerZipCode + " " + CustomerEmail + " " + CustomerEducation + " " + CustomerBirthday + " " + CustomerMemberSince + " " + CustomerInterests;
        }
    }
}
